package com.service;

import com.github.pagehelper.PageInfo;
import com.pojo.Stopcarmoney;
import com.vo.LineVo;
import com.vo.StopcarmoneyPageVo;
import com.vo.StopcarmoneyVo;

import java.util.List;

public interface StopcarmoneyService {
    int insertSelective(Stopcarmoney record);
    PageInfo<Stopcarmoney> selectall(StopcarmoneyPageVo stopcarmoneyPageVo);
    int deleteByid(Integer id);
    public int addStopCarMoney(StopcarmoneyVo stopcarmoneyVo);
    public List<Stopcarmoney> OwnerSelectStopCarByOwnerphone(String ownerphone);

    /***
     * 用户完成缴费将状态改为1
     * @param id
     * @return
     */
    public int updateIsNoById(Integer id);

    /***
     * 是否缴费
     * @param
     * @return
     */
    public Stopcarmoney OwnerSelectStopCarBy(String parklotname,String parkname);

    /**
     * 折线统计图
     */
    public List<LineVo> selectline();
    public PageInfo<Stopcarmoney> OwnerSelectStopCar(StopcarmoneyVo stopcarmoneyVo);
}
